package com.project.service;

import com.project.dto.ReportReviewListDTO;
import com.project.dto.ReportIdNameDto;
import com.project.model.entity.ProjectReport;

import java.util.List;

public interface ProjectReportService {
    ProjectReport addProjectReport(ProjectReport projectReport);

    void deleteProjectReport(Integer id);

    ProjectReport updateProjectReport(ProjectReport projectReport);

    ProjectReport getProjectReportById(Integer id);

    ProjectReport getProjectReportByReportId(Integer id);

    List<ProjectReport> getAllProjectReports();

    List<ReportIdNameDto> getReportIdName();

    //更新报告状态
    String updateProjectReportStatus(Integer reportId,String status);

    List<ReportReviewListDTO> getReportReviewList(String status);
    public void checkDraft(String reportId);
}

